<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
	<title><%= @controller.controller_name.capitalize %>: <%= @controller.action_name.capitalize %></title>
	<%= stylesheet_link_tag "style" %>
	<%= javascript_include_tag "prototype" %>
</head>
<body>
	<div id="header">	

		<div id="menu">
		
		</div>
		<div id="flash_msgs">
			<%# viene visualizzato lo elenco di messaggi, con corrispettivo id, inerente lo esito di operazioni effettuate %>
			<% flash.each do |key, msg| %>
				<%= content_tag :div, msg, :id => key %>
			<% end %>
		</div>
	</div>
   
	<div id="container">
		
		<div id="content">
         
			<%= yield %>
		</div>
		
      <div id="footer">
         <%= "Vai a " + (link_to "home", users_path) %>
      </div>
	
	</div>
   
</body>
</html>
